package com.RLFZ.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (health_clock)实体类
 *
 * @author zh
 * @since 2022-08-25 17:16:58
 * @description 
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("health_clock")
public class HealthClock extends Model<HealthClock> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
	private Integer id;
    /**
     * username
     */
    private String name;
    /**
     * sex
     */
    private String sex;
    /**
     * age
     */
    private Integer age;
    /**
     * phone
     */
    private String phone;
    /**
     * morningTemp
     */
    private String morningTemp;
    /**
     * afternoonTemp
     */
    private String afternoonTemp;
    /**
     * nightTemp
     */
    private String nightTemp;
    /**
     * feverAndCough
     */
    private String feverAndCough;
    /**
     * recentHome
     */
    private String recentHome;
    /**
     * riskZone
     */
    private String riskZone;
    /**
     * recentZone
     */
    private String recentZone;
    /**
     * healthStatus
     */
    private String healthStatus;
    /**
     * createTime
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}